package libra.model.seate;

import java.io.Serializable;

/**
 * 模拟编写SeataDemo的订单类
 * @author libra
 */
public class OrderDetails implements Serializable {
	/**  */
	private static final long serialVersionUID = 1006328608330219230L;
	
	private Integer id;
	private Integer goods_id;
	private Integer count;
	private String create_time;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getGoods_id() {
		return goods_id;
	}
	public void setGoods_id(Integer goods_id) {
		this.goods_id = goods_id;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
	public OrderDetails() { }
	public OrderDetails(Integer goods_id, Integer count, String create_time) {
		super();
		this.goods_id = goods_id;
		this.count = count;
		this.create_time = create_time;
	}
	@Override
	public String toString() {
		return "OrderDetails [id=" + id + ", goods_id=" + goods_id + ", count=" + count + ", create_time=" + create_time
				+ "]";
	}
}
